/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package control;

import javax.ejb.Stateless;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;

/**
 *
 * @author AnBoCa
 */
@WebService(serviceName="UserActions")
@Stateless
public class UserActions {
    
    @WebMethod(operationName="doLogin")
    public boolean doLogin(@WebParam(name="user") String user, @WebParam(name="pass") String pass){
        //se buscan los datos en la bd y ser retorna true o false
        return false;
    }

    @WebMethod(operationName="doLogout")
    public boolean doLogout(@WebParam(name="user") String user){
        
        return false;
    }
    
    @WebMethod(operationName="changePassword")
    public boolean changePassword(@WebParam(name="user")String user){
        //código para cambiar la contraseña
        return false;
    }
    
}
